import copy

nested_list = [123, [1, 2, 3,[4,5]], {'name': 'Bob', 'age': 18}, (1, 2)]

assigned_list = nested_list

copied_list = copy.deepcopy(nested_list)

nested_list[1][0] = 9
nested_list[2]['age'] = 30
nested_list[0] = 999
nested_list[1][3][0]=114514

# 打印三个列表，观察差异
print("原始列表:", nested_list)
print("赋值后的列表:", assigned_list)
print("拷贝后的列表:", copied_list)